const service = require('../service/adminfeatures')
module.exports = {
  getUserPage: async (ctx, next) => {
    await service.getPage(ctx)
    await next()
  },
  changeInfo: async (ctx, next) => {
    await service.changeInfo(ctx)
    await next()
  },
  deleteUser: async (ctx, next) => {
    await service.deleteUser(ctx)
    await next()
  },
  selectByCondition: async (ctx, next) => {
    await service.select(ctx)
    await next()
  }
}
